/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.chapter5.designpatters.behavioralpattern.visitorpattern.visitorimpl;

import za.ac.cput.chapter5.designpatters.behavioralpattern.visitorpattern.visitorinterface.NumberElement;
import za.ac.cput.chapter5.designpatters.behavioralpattern.visitorpattern.visitorinterface.NumberVisitor;

/**
 *
 * @author Sakhe
 */
public class TwoElement implements NumberElement{
    
    int a ;
    int b ;
    public TwoElement(int a ,int b){
    this.a = a;
    this.b = b ;
    }
    @Override
    public void accept(NumberVisitor visitor){
    visitor.visit(this);
    }
}
